<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

Category Id: ${category.categoriesId}<br/><br/>

Name: ${category.name}<br/>
Description: ${category.description}<br/><br/>

Created Date: ${category.createdDate}<br/>
Updated Date: ${category.updatedDate}<br/><br/>

Approved By: ${category.approver.username}<br/>
Approved Date: ${category.approvedDate}<br/>

<table>
	<tr>
		<th>Name</th>
		<th>Description</th>
	</tr>
<c:forEach var="subCategories" items="${category.subCategories}">
	<tr>
		<td>${subCategories.name}</td>
		<td>${subCategories.description}</td>
	</tr>
</c:forEach>
</table>